import {Input} from 'antd';

export const searchForm: any[] = [{
    key: 'nick_name',
    Component: Input,
    label: '昵称',
    props: {
        placeholder: '请输入昵称查询'
    }
}, {
    key: 'username',
    Component: Input,
    label: '用户名',
    props: {
        type: 'text',
        placeholder: '请输入用户名查询'
    }
}, {
    key: 'phone',
    Component: Input,
    label: '电话号码',
    props: {
        placeholder: '请输入电话号码查询'
    }
},{
    key: 'provider',
    Component: Input,
    label: '第三方账户厂家',
    props: {
        placeholder: '请输入第三方账户厂家查询'
    }
},  {
    key: 'status',
    Component: 'Select',
    initialValue: '',
    selectList: [{
        value: '',
        name: '全部'
    }, {
        value: 'normal',
        name: '正常'
    }, {
        value: 'abnormal',
        name: '异常账户'
    }, {
        value: 'delete',
        name: '已删除'
    }],
    label: '用户状态',
    props: {
        placeholder: '选择用户状态'
    }
}, {
    key: 'type',
    Component: 'Select',
    initialValue: '',
    selectList: [{
        value: '',
        name: '全部'
    }, {
        value: 1,
        name: '围观群众'
    }, {
        value: 2,
        name: '创造者'
    }],
    label: '用户类型',
    props: {
        placeholder: '选择用户类型'
    }
}];


